#include<bits/stdc++.h>
using namespace std;
int main()
{
    for (int i = 1; i <= 100;i++)
    {
        for (int j = 1; j <= 100;j++)
         {   cout << i << ":" << j << "     ";
            cout << (i | j) + (i & j) + (i ^ j) << endl;}
    }
}